package com.wyk.service;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * @author WangYuKai
 * @Date 2022/7/7
 * @apiNote
 */
@Component
public class PaymentFallBackService implements FeignHystrixService{
    @Override
    public String paymentOk(Integer id) {
        return "----PaymentFallBackService   fall back-ok";
    }

    @Override
    public String paymentError(Integer id) {
        return "---PaymentFallBackService  TimeOut";
    }
}
